
from pyecharts import options
from pyecharts.charts import Pie

data = [('南昌',15),('北京',50),('上海',30),('九江',5)]

pie = Pie()
pie.add("单位：%",data)
pie.set_global_opts(title_opts=options.TitleOpts(title="各城市岗位量占比图"))
pie.render('piera.html')